package com.hengpeng.itfin.persist.impl;

import java.util.Date;

import org.springframework.stereotype.Repository;

import com.hengpeng.common.persist.AbstractDao;
import com.hengpeng.itfin.persist.RecoverRepayDao;
import com.hengpeng.itfinbase.persist.RecoverRepay;
import com.hengpeng.itfinbase.persist.RecoverRepay.RecoverRepayStatus;

@Repository
public class RecoverRepayDaoImpl extends AbstractDao<RecoverRepay> implements RecoverRepayDao {

	@Override
	public int updateStatus(Long id, RecoverRepayStatus newStatus,
			RecoverRepayStatus oldStatus, Date repayTime, Date updateTime) {
		return super.exeNamedQuery("recoverRepay.updateStatus", new Object[] {newStatus,repayTime,updateTime,id,oldStatus});
	}
}
